#include "Graphics/IDeviceVertexBuffer.h"
#include "Graphics/IDeviceBuffer.h"

namespace tyro
{
	namespace Graphics
	{

		IDeviceVertexBuffer::IDeviceVertexBuffer( IDeviceBufferManagerBase* mgr, size_t vertexSize, size_t numberVertices )
			:	IDeviceBuffer()
			,	bufferManger(mgr)
			,	numberVertices(numberVertices)
			,	vertexSize(vertexSize)
		{
			sizeInBytes = vertexSize * numberVertices;
		}

		size_t IDeviceVertexBuffer::GetNumberVertices( void ) const
		{
			return numberVertices;
		}


		


		IDeviceVertexBufferSharedPtr::IDeviceVertexBufferSharedPtr( IDeviceVertexBuffer* buf )
			: Framework::SharedPtr<IDeviceVertexBuffer>(buf)
		{

		}

	}
}